package com.ccys.db.dto.masterData;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: WhiteCoat
 * @description: 公共假日分页查询接收DTO
 * @author: ZhangJingCan
 * @create: 2023-12-11 14:56
 **/

@Data
@ApiModel("公共假日分页查询接收DTO")
public class CountryHolidayQueryPageDto {

    @ApiModelProperty(value = "公共假日名称", name = "holidayName", example = "公共假日名称-模糊搜索")
    private String holidayName;

    @ApiModelProperty(value = "假日开始时间", name = "holidayStartDate", example = "假日开始时间")
    private Date holidayStartDate;

    @ApiModelProperty(value = "假日结束时间", name = "holidayEndDate", example = "假日结束时间")
    private Date holidayEndDate;

    @ApiModelProperty(value = "国家ID", name = "countryId", example = "国家ID,查询所有传null")
    private String countryId;

    @ApiModelProperty(value = "状态", name = "status", example = "状态:0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty(value = "创建时间的开始时间", name = "startCreateOn", example = "创建时间的开始时间")
    private Date startCreateOn;

    @ApiModelProperty(value = "创建时间的结束时间", name = "endCreateOn", example = "创建时间的结束时间")
    private Date endCreateOn;

    @ApiModelProperty(value = "排序字段", name = "orderByStr", example = "(默认传：ch.created_on desc),ch.holiday_name,ch.countryOrder,ch.holiday_start_date,ch.status,a.user_fullname")
    private String orderByStr;

    @ApiModelProperty(value = "账号id", name = "accountId", hidden = true)
    private String accountId;

}
